package com.demostic.demostic_test.app.utils;

import android.app.Activity;
import android.os.Build;

import com.demostic.demostic_test.R;

public class WindowUtils {
    public static void setStatusBarColor(Activity activity) {
        if (Build.VERSION.SDK_INT >= 21) {
            activity.getWindow().setStatusBarColor(activity.getResources().getColor(R.color.clock_status_bar_color));
        }
    }
}
